<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:directive.tag language="java" pageEncoding="UTF-8"/>
<%@ attribute name="value" required="true"%>
<%@ attribute name="id" description="find this id use by update operate,is not required"%>
<%@ attribute name="display" required="true" description="is need show this tag"%>

<select name="orderStatus" class="inputbox130" id="${id}" <c:if test="${display==false}">style="display:none"</c:if> >
<c:if test="${value==0}"  >
      <option value="0" <c:if test="${bOrder.status==0}">selected="selected"</c:if>>订座成功等待支付</option>
      <option value="1" <c:if test="${bOrder.status==1}">selected="selected"</c:if>>支付成功等待出票</option>
      <option value="12" <c:if test="${bOrder.status==12}">selected="selected"</c:if>>订单取消</option>
</c:if>

<c:if test="${value==1}" >
      <option value="1" <c:if test="${bOrder.status==1}">selected="selected"</c:if>>支付成功等待出票</option>
      <option value="5" <c:if test="${bOrder.status==5}">selected="selected"</c:if>>出票中</option>
      <option value="2" <c:if test="${bOrder.status==2}">selected="selected"</c:if>>出票完成</option>
  	  <option value="9" <c:if test="${bOrder.status==9}">selected="selected"</c:if>>未出票申请退款</option>
</c:if>


<c:if test="${value==2}" >
      <option value="2" <c:if test="${bOrder.status==2}">selected="selected"</c:if>>出票完成</option>
      <option value="40" <c:if test="${bOrder.status==40}">selected="selected"</c:if>>改签申请中</option>
      <option value="8" <c:if test="${bOrder.status==8}">selected="selected"</c:if>>退票申请中</option>
</c:if>

<c:if test="${value==40}" >
      <option value="40" <c:if test="${bOrder.status==40}">selected="selected"</c:if>>改签申请中</option>
      <option value="2" <c:if test="${bOrder.status==2}">selected="selected"</c:if>>出票完成</option>
</c:if>

<c:if test="${value==8}" >
      <option value="8" <c:if test="${bOrder.status==8}">selected="selected"</c:if>>退票申请中</option>
      <option value="2" <c:if test="${bOrder.status==2}">selected="selected"</c:if>>出票完成</option>
</c:if>

<c:if test="${value==5}" >
      <option value="5" <c:if test="${bOrder.status==5}">selected="selected"</c:if>>出票中</option>
      <option value="2" <c:if test="${bOrder.status==2}">selected="selected"</c:if>>出票完成</option>
  	  <option value="9" <c:if test="${bOrder.status==9}">selected="selected"</c:if>>未出票申请退款</option>
</c:if>

</select>

     <%--  <option value="8" <c:if test="${bOrder.status==9}">selected="selected"</c:if>>未出票申请退款</option>
      <option value="6" <c:if test="${bOrder.status==6}">selected="selected"</c:if>>订座成功等待价格确认</option>
      <option value="7" <c:if test="${bOrder.status==7}">selected="selected"</c:if>>等待座位确认</option>
      <option value="0" <c:if test="${bOrder.status==0}">selected="selected"</c:if>>订座成功等待支付</option>
      <option value="12" <c:if test="${bOrder.status==12}">selected="selected"</c:if>>订单取消</option>
      <option value="1" <c:if test="${bOrder.status==1}">selected="selected"</c:if>>支付成功等待出票</option>
      <option value="5" <c:if test="${bOrder.status==5}">selected="selected"</c:if>>出票中</option>
      <option value="2" <c:if test="${bOrder.status==2}">selected="selected"</c:if>>出票完成</option>
      <option value="40" <c:if test="${bOrder.status==40}">selected="selected"</c:if>>改签申请中</option>
      <option value="42" <c:if test="${bOrder.status==42}">selected="selected"</c:if>>改签完成</option>
      <option value="8" <c:if test="${bOrder.status==8}">selected="selected"</c:if>>退票申请中</option>
      <option value="31" <c:if test="${bOrder.status==31}">selected="selected"</c:if>>退票完成等待退款</option>
      <option value="39" <c:if test="${bOrder.status==39}">selected="selected"</c:if>>退款完成</option> --%>